git提交失败 发表于 2019-07-04 工程项目是存于码云 上,不知道是长时间不提交的原因,还是什么情况,今天提交新版本的时候,报错了。 查看了文章给出的解决办法,然后再git教程找到了解决办法: 123git push origin HEAD:masterPush the current branch to the remote ref matching master in the origin repository. This form is convenient to push the current branch without thinking about its local name.